<div class="<%= index_pages[:class] %>_pages pages_index" <%= "style='display:none;'" if index_pages[:hide] %>>	
	<% for i in (0..index_pages[:pages]) %>		
		<a href="#" rif="<%= i %>" onclick="return changePage(this)"> 
			<div class="page_index <%= ' page_index_selected' if index_pages[:selected].to_i == i %>"><%= i %></div>
		</a>
	<% end %>
	<p class="separator"><span></span></p>
</div>